<!--- 
@%HEADER%@


Copyright @%CUR_YEAR%@ Seb Duggan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
--->

<cfoutput>

<form method="post" action="#cgi.script_name#">
	<fieldset>
		<legend>Captcha setup</legend>
		<p>
			<label for="CF8CaptchaDifficulty">Complexity</label>
			<span class="hint">How hard will the CAPTCHA image be to read?</span>
			<span class="field"><select id="CF8CaptchaDifficulty" name="CF8CaptchaDifficulty" class="required">
				<option value="high"<cfif getSetting("CF8CaptchaDifficulty") is "high"> selected="selected"</cfif>>high</option>
				<option value="medium"<cfif getSetting("CF8CaptchaDifficulty") is "medium"> selected="selected"</cfif>>medium</option>
				<option value="low"<cfif getSetting("CF8CaptchaDifficulty") is "low"> selected="selected"</cfif>>low</option>
			</select></span>
		</p>
	
		<p>
			<label for="CF8CaptchaFonts">Available fonts</label>
			<span class="hint">Comma separated list of available fonts. These are fonts that are available on your server</span>
			<span class="field"><input type="text" id="CF8CaptchaFonts" name="CF8CaptchaFonts" value="#getSetting("CF8CaptchaFonts")#" size="35" class="required"/></span>
		</p>

		<p>
			<label for="CF8CaptchaFontsize">Font size</label>
			<span class="hint">Font size in pixels</span>
			<span class="field"><input type="text" id="CF8CaptchaFontsize" name="CF8CaptchaFontsize" value="#getSetting("CF8CaptchaFontsize")#" size="5" class="required digits"/></span>
		</p>

		<p>
			<label for="CF8CaptchaLength">Number of characters</label>
			<span class="hint">How long should the CAPTCHA text be (plus/minus 1)</span>
			<span class="field"><input type="text" id="CF8CaptchaLength" name="CF8CaptchaLength" value="#getSetting("CF8CaptchaLength")#" size="5" class="required digits"/></span>
		</p>
	</fieldset>

	<div class="actions">
		<input type="submit" class="primaryAction" value="Submit"/>
		<input type="hidden" value="event" name="action" />
		<input type="hidden" value="showCF8CaptchaSettings" name="event" />
		<input type="hidden" value="true" name="apply" />
		<input type="hidden" value="CF8Captcha" name="selected" />
	</div>

</form>



</cfoutput>